package com.indexingsystem.boss.Vo;

import java.io.Serializable;

/**
 * 分页包装类.
 * 
 * @author Administrator
 *
 */
public class PageVo implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -6651295078770975649L;
	private Integer pageNumber;// 当前页
	private Integer pageSize;// 页面大小

	private Integer queryType;

	private String queryCriteria;

	public Integer getPageNumber() {
		return pageNumber;
	}

	public void setPageNumber(Integer pageNumber) {
		this.pageNumber = pageNumber;
	}

	public Integer getPageSize() {
		return pageSize;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}

	public Integer getQueryType() {
		return queryType;
	}

	public void setQueryType(Integer queryType) {
		this.queryType = queryType;
	}

	public String getQueryCriteria() {
		return queryCriteria;
	}

	public void setQueryCriteria(String queryCriteria) {
		this.queryCriteria = queryCriteria;
	}

	public PageVo() {
		super();
	}

	public PageVo(Integer pageNumber, Integer pageSize, Integer queryType, String queryCriteria) {
		super();
		this.pageNumber = pageNumber;
		this.pageSize = pageSize;
		this.queryType = queryType;
		this.queryCriteria = queryCriteria;
	}

	@Override
	public String toString() {
		return "PageVo [pageNumber=" + pageNumber + ", pageSize=" + pageSize + ", queryType=" + queryType
				+ ", queryCriteria=" + queryCriteria + "]";
	}
}